<template>
  <div class="merchandise-detail">
    <p class="back" @click="$router.back()">
      <van-icon name="arrow-left" />
      返回上一页
    </p>
    <div class="swiper">
      <van-swipe class="my-swipe" :autoplay="3000" indicator-color="white">
        <van-swipe-item>
          <img src="@/assets/screen/left2.png" alt="#">
        </van-swipe-item>
        <van-swipe-item>
          <img src="@/assets/screen/left1.png" alt="#">
        </van-swipe-item>
        <van-swipe-item>
          <img src="@/assets/screen/left3.png" alt="#">
        </van-swipe-item>
        <van-swipe-item>
          <img src="@/assets/screen/left4.png" alt="#">
        </van-swipe-item>
      </van-swipe>
    </div>
    <p class="title">514D1</p>
    <p class="title">EUR541</p>
    <p class="title" style="line-height: 18px;">所选颜色: 白色</p>
    <p class="title" style="line-height: 18px;">货存情况可能因所选颜色不同而变化</p>
    <p class="title" style="line-height: 18px;margin-top: 10px;">尺码:</p>
    <p class="title" style="line-height: 18px;">S M L XL XXL</p>
    <p class="title" style="margin-top: 10px;">
      <span style="border-top: 1px solid #333;display:inline-block;">尺码对照表</span>
    </p>
    <p class="button">添加至购物车</p> 
    <div class="bottom">
      <p class="bt-title">商品特性</p>
      <p class="small-title">描述</p>
      <p>柔软棉质圆领针织衫，点缀图形感嵌饰，12针。结构感肩部/和服袖。正面及肩部以精湛针织工艺勾勒大号Rosa dei Venti Stone Lsland徽标。</p>
      <p class="bt-title" style="margin-top: 10px;">成分</p>
      <p>100%棉</p>
      <p class="bt-title" style="margin-top: 10px;">保养</p>
      <p>40°C温和手洗;不可漂白;不可滚筒干燥;熨烫最高温度110 °c -无蒸汽;四氯乙烯干洗–温和洗涤;平摊阴干;分开洗涤;反面洗涤;使用中性洗涤剂;垫布熨烫</p>
      <p class="bt-title" style="margin-top: 10px;">配送和退货</p>
      <p>优先达:3-6日交货</p>
      <p>退货</p>
      <p>自交付日起30天内可以退还商品。</p>
      <p>在线填写退货表并与承运商联系，安排提货事宜。</p>
      <p>如您需要可自费使用其他承运商。</p>
      <p>在客户服务区域查看如何退货信息。</p>
    </div>
    <Introduce />
  </div>
</template>

<script>
import Introduce from '@/components/Introduce.vue'
export default {
  components: {
    Introduce
  }
}
</script>

<style lang="scss" scoped>
.merchandise-detail {
  .back {
    height: 50px;
    line-height: 50px;
    padding-left: 10px;
    letter-spacing: 3px;
    font-size: 16px;
    color: #666;
  }
  .swiper {
    width: 70%;
    margin-left: 15%;
    img {
      width: 100%;
    }
  }
  .title {
    line-height: 40px;
    font-size: 16px;
    color: #333;
    text-align: center;
    letter-spacing: 5px;
  }
  .button {
    width: 80%;
    line-height: 50px;
    font-size: 18px;
    text-align: center;
    margin-left: 10%;
    color: #fff;
    background-color: #333;
  }
  .bottom {
    margin-top: 10px;
    border-top: 1px solid #f1f3f9;
    padding: 10px 20px;
    font-size: 14px;
    line-height: 20px;
    text-align: left;
    letter-spacing: 4px;
    .bt-title {
      font-size: 18px;
      font-weight: bold;
      line-height: 40px;
    }
    .small-title {
      line-height: 40px;
    }
  }
  /deep/.van-swipe__indicators {
    .van-swipe__indicator {
      background-color: #000;
    }
    .van-swipe__indicator--active {
      background-color: #39a9ed !important;
    }
  }
}
</style>